home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 43.zip / ANC 15.adf / demo / pi.r < prev    next >
Text File  |  1987-01-01  |  2KB  |  28 lines

  1. p @"In this demo, SDB will be used to execute a program that calculates the"
  2. p @"value of pi.  The program was started with the following command line:"
  3. p @n"pi 50"nn
  4. p @"The 50 is used by the program to indicate the precision to which it is"
  5. p @"to calculate the value of pi."nn
  6. &
  7. p @"While the other two demo programs have command files that run through"
  8. p @"the entire program one or more times this one simply sets up the program"
  9. p @"to be executed and allows you, the user, to step through it on your own."
  10. p @n"The other programs may also be executed in this manner by invoking sdb"
  11. p @"from the CLI command line followed by the program to be executed."
  12. &
  13. p @n"In case you haven't run the other demos, a few words of explanation might"
  14. p @"be necessary.  The top window displays your C source, the middle window"
  15. p @"accepts commands entered via the keyboard and supports an inteligent"
  16. p @"command history with editing, and the bottom window displays the results"
  17. p @"returned by the commands being executed.  The program's output is displayed"
  18. p @"on the screen behind sdb and may be viewed by either resizing the sdb"
  19. p @"application window or by switching windows.  To toggle between the sdb"
  20. p @"display and the program output, you can either use the function key F10"
  21. p @"or enter a Ctrl-Y."
  22. &
  23. p @n"When you've finished executing the pi program you can exit sdb by using"
  24. p @"the q for quit command.  The only other command that you'll need to remember"
  25. p @"is the ? for help.  With that you should be able to figure the rest out by"
  26. p @"yourself."
  27. p @n"Have at it!"
  28.